import { defineStore } from 'pinia'

export const usePermissStore = defineStore('permiss', {
  persist: true,
  state: () => {
    return {
      permissRole: ''
    }
  },
  actions: {
    handleSet(val: string) {
      this.permissRole = val
    },
    handleGet() {
      return this.permissRole
    }
  }
})
